package com.lyc.platform.server.gateway.bean.message;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * @author liangyucheng
 * 最基础的消息类
 */
@NoArgsConstructor
@AllArgsConstructor
@Getter
@Setter
public class SimpleMessage implements Message {
    private String requestId;

    private String topic;

    private Object payload;

    private Type type;

    private String message;
}
